<%@ Page language="c#" Codebehind="ManageArticles.aspx.cs" AutoEventWireup="false" Inherits="CommunityServer.ControlPanel.Tools.ManageArticles" MasterPageFile="~/ControlPanel/Masters/SetupAdmin.master" %>

<asp:Content ContentPlaceHolderId="DescriptionRegion" runat="server">
	<cp:resourcecontrol id="RegionTitle" runat="Server" resourcename="CP_Tools_ManageArticle_Title" />
</asp:Content>

<asp:Content ContentPlaceHolderId="TaskRegion" runat="Server">
    <CP:ControlPanelSelectedNavigation runat="server" SelectedNavItem="ToolsArticles" />
	<DIV class="CommonDescription">
		<cp:resourcecontrol id="Resourcecontrol1" runat="Server" resourcename="CP_Tools_ManageArticle_SubTitle" /><BR>
	</DIV>
	<asp:repeater id="articleslist" runat="server">
		<headertemplate>
			<p>
				<asp:hyperlink text='<%# CommunityServer.ControlPanel.Components.ResourceManager.GetString("CP_Tools_ManageArticle_Create") %>' runat="server" NavigateUrl="<%# CommunityServer.Components.Contents.NewArticleUrl()  %>" CssClass="CommonTextButton" />
			</p>
			<DIV class="FixedWidthContainer">
			<table cellspacing="0" cellpadding="0" border="0">
				<tr>
					<th class="CommonListHeaderLeftMost">
						<cp:resourcecontrol runat="Server" resourcename="CP_Tools_ManageArticle_LastModified" /></th>
					<th class="CommonListHeader">
						<cp:resourcecontrol runat="Server" resourcename="CP_Tools_ManageArticle_ArticleName" /></th>
					<th class="CommonListHeader">
						<cp:resourcecontrol runat="Server" resourcename="CP_Tools_ManageArticle_Actions" /></th>
				</tr>
		</headertemplate>
		<itemtemplate>
			<tr>
				<td class="CommonListCellLeftMost">
					<asp:Literal id="LastModified" runat="Server" /></td>
				<td class="CommonListCell">
					<asp:Literal id="ContentName" runat="Server" />&nbsp;
				</td>
				<td class="CommonListCell">
					<cp:hyperlink ResourceName="CP_Tools_ManageArticle_View" id="ViewLink" runat="server" CssClass="CommonTextButton" />&nbsp;
					<cp:hyperlink ResourceName="CP_Tools_ManageArticle_Edit" id="EditLink" runat="server" CssClass="CommonTextButton" />
				</td>
			</tr>
		</itemtemplate>
		<AlternatingItemTemplate>
		    <tr class="AltListRow">
				<td class="CommonListCellLeftMost">
					<asp:Literal id="LastModified" runat="Server" /></td>
				<td class="CommonListCell">
					<asp:Literal id="ContentName" runat="Server" />&nbsp;
				</td>
				<td class="CommonListCell">
					<cp:hyperlink ResourceName="CP_Tools_ManageArticle_View" id="ViewLink" runat="server" CssClass="CommonTextButton" />&nbsp;
					<cp:hyperlink ResourceName="CP_Tools_ManageArticle_Edit" id="EditLink" runat="server" CssClass="CommonTextButton" />
				</td>
			</tr>
		</AlternatingItemTemplate>
		<footertemplate>
			</table>
			</div>
		</footertemplate>
	</asp:repeater>
</asp:Content>